#!/bin/bash -v
make
sudo insmod one_driver_more_device_2.ko
sudo mknod -m 0666 /dev/chardev0 c 256 0
sudo mknod -m 0666 /dev/chardev1 c 256 1
echo "000000" > /dev/chardev0
echo "111111" > /dev/chardev1
cat /dev/chardev0
cat /dev/chardev1
sudo rmmod one_driver_more_device_2.ko
sudo rm /dev/chardev0
sudo rm /dev/chardev1
modinfo one_driver_more_device_2.ko
make clean